package com.yangwp.java.spider.weibo.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.yangwp.java.spider.weibo.model.User;

@Repository
public interface UserDao {

	int insert(User user);

	int batchInsert(List<User> users);
	
	int update(User user);

	int updateByUserId(User user);
	
	User getUserById(Integer id);

    Integer countUser(Map<String, Object> params);

    List<User> getUserList(Map<String, Object> params);

    User getUntracked();
}